//
//  LYTypes.h
//  artist
//
//  Created by laotang on 16/4/4.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#ifndef LYTypes_h
#define LYTypes_h

#define WS(weakSelf) __weak __typeof(&*self) weakSelf = self;
extern NSString * LYNoNullString(NSString *string);

typedef enum : NSUInteger {
    verifyTypeVerify = 10001, //  注册验证码
    verifyTypeLogin,  //  动态登陆验证码
    verifyTypeFindPassword,  // 找回密码
} LYverifyType;

typedef enum : NSUInteger {
    LYCicleTypePictureWord, //  图文
    LYCicleTypeVote,  //  投票
} LYCicleType;

typedef enum : NSUInteger {
    cityDataTypeNormal,
    cityDataTypeOpen
} cityDataType;

typedef enum : NSUInteger {
    ObjectTypePost = 1, // 帖子
    ObjectTypeClass, // 课程
    ObjectTypeVideo, // 视频
} ObjectType;

typedef enum : NSUInteger {
    WebTypeClass,
    WebTypeStu,
    WebTypeTea,
    WebTypeOrz,
    WebTypeVideo,
    WebTypeGuide,
    WebTypeArtical,
    WebTypeTestExplain,
} WebType;


typedef enum : NSUInteger {
    CommentTypeTopic = 1,
    CommentTypeClass,
    CommentTypeVideo,
    CommentTypeOther
} CommentType;


typedef enum : NSUInteger {
    LYOrderStateAll, // 全部
    LYOrderStatePay, // 已支付
} LYOrderState;


typedef enum : NSUInteger {
    LYSubjectOrderTypeLow = 1, // 1评分低到高
    LYSubjectOrderTypeHeight, // 2评分高到低
    LYSubjectOrderTypeNear, //  3距离近到远
    LYSubjectOrderTypeFar, // 4距离远到近
} LYSubjectOrderType;


// 周边老师、周边机构排序
typedef enum : NSUInteger {
    LYOrderTypeDefault = 11, // 默认排序
    LYOrderTypeRenqi = 12, // 人气最高
    LYOrderTypeEvaluate = 13, //  评价最高
    LYOrderTypeNearBy = 14, // 离我最近
    LYOrderTypeTeacher = 15, // 老师最多
    LYOrderTypeEvaluateMost = 16, // 评价最多
} LYOrderType;


// 本地课程排序
typedef enum : NSUInteger {
    LYLocalOrderTypeDefault = 11,   // 默认排序
    LYLocalOrderTypeRenqi = 12,     // 人气最高
    LYLocalOrderTypeEvaluate = 13,  // 评价最多
    LYLocalOrderTypePrice = 14,     // 价格最低
} LYLocalOrderType;





typedef enum : NSUInteger {
    LYRoleTypeStuent = 1, // 学生
    LYRoleTypeTeacher = 2, //  老师
    LYRoleTypeOrganization = 3, // 机构

} LYRoleType;


typedef enum : NSUInteger {
    LYSlideTypeHome = 1, // 首页轮播
    LYSlideTypeErtist = 2, // E术家
    LYSlideTypeFriend = 3, // 艺友圈
    
} LYSlideType;

#endif /* LYTypes_h */
